package com.mapper.repository;

import com.bean.base.WebSiteItem;
import org.springframework.data.jpa.repository.JpaRepository;

public interface WebSiteItemRepository extends JpaRepository<WebSiteItem,String> {

    int countByWebsiteOrUrl(String webSite,String url);

    int countByWebsite(String webSite);

    int countByUrl(String url);

    int countByWebsiteAndIdIsNot(String webSite,String id);

    int countByUrlAndIdIsNot(String url,String id);

}
